Scalable

interface Scalable

Provides a set width/height method for parents of implementing widgets

Expectation is that the set methods actually change the dimensions of the widget, much like net.minecraft.client.gui.widget.ClickableWidget

Functions

Link copied to clipboard
abstract fun setHeight(height: Int)
Link copied to clipboard
abstract fun setWidth(width: Int)